package com.py.product.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 供应商信息对象 py_suppliers
 * 
 * @author he
 * @date 2024-11-22
 */
public class PySuppliers extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 供应商ID */
    private Long supplierId;

    /** 供应商编号 */
    @Excel(name = "供应商编号")
    private String supplierCode;

    /** 所属行业 */
    @Excel(name = "所属行业")
    private Long industryId;

    /** 供应商分类 */
    @Excel(name = "供应商分类")
    private Long supplierCategoryId;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contactPerson;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String contactPhone;

    /** 电子邮箱 */
    @Excel(name = "电子邮箱")
    private String email;

    /** 进货部门 */
    @Excel(name = "进货部门")
    private Long purchaseDepartmentId;

    /** 进货负责人 */
    @Excel(name = "进货负责人")
    private String purchaseResponsibleId;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    /** 供应商地址 */
    @Excel(name = "供应商地址")
    private String supplierAddress;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    /** 制单人 */
    @Excel(name = "制单人")
    private String manager;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;

    /** 伪删除 */
    @Excel(name = "伪删除")
    private Integer isDeleted;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String supplierName;

    public void setSupplierId(Long supplierId) 
    {
        this.supplierId = supplierId;
    }

    public Long getSupplierId() 
    {
        return supplierId;
    }
    public void setSupplierCode(String supplierCode) 
    {
        this.supplierCode = supplierCode;
    }

    public String getSupplierCode() 
    {
        return supplierCode;
    }
    public void setIndustryId(Long industryId) 
    {
        this.industryId = industryId;
    }

    public Long getIndustryId() 
    {
        return industryId;
    }
    public void setSupplierCategoryId(Long supplierCategoryId) 
    {
        this.supplierCategoryId = supplierCategoryId;
    }

    public Long getSupplierCategoryId() 
    {
        return supplierCategoryId;
    }
    public void setContactPerson(String contactPerson) 
    {
        this.contactPerson = contactPerson;
    }

    public String getContactPerson() 
    {
        return contactPerson;
    }
    public void setContactPhone(String contactPhone) 
    {
        this.contactPhone = contactPhone;
    }

    public String getContactPhone() 
    {
        return contactPhone;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setPurchaseDepartmentId(Long purchaseDepartmentId) 
    {
        this.purchaseDepartmentId = purchaseDepartmentId;
    }

    public Long getPurchaseDepartmentId() 
    {
        return purchaseDepartmentId;
    }
    public void setPurchaseResponsibleId(String purchaseResponsibleId) 
    {
        this.purchaseResponsibleId = purchaseResponsibleId;
    }

    public String getPurchaseResponsibleId() 
    {
        return purchaseResponsibleId;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setSupplierAddress(String supplierAddress) 
    {
        this.supplierAddress = supplierAddress;
    }

    public String getSupplierAddress() 
    {
        return supplierAddress;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }
    public void setManager(String manager) 
    {
        this.manager = manager;
    }

    public String getManager() 
    {
        return manager;
    }
    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }
    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }
    public void setIsDeleted(Integer isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Integer getIsDeleted() 
    {
        return isDeleted;
    }
    public void setSupplierName(String supplierName) 
    {
        this.supplierName = supplierName;
    }

    public String getSupplierName() 
    {
        return supplierName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("supplierId", getSupplierId())
            .append("supplierCode", getSupplierCode())
            .append("industryId", getIndustryId())
            .append("supplierCategoryId", getSupplierCategoryId())
            .append("contactPerson", getContactPerson())
            .append("contactPhone", getContactPhone())
            .append("email", getEmail())
            .append("purchaseDepartmentId", getPurchaseDepartmentId())
            .append("purchaseResponsibleId", getPurchaseResponsibleId())
            .append("status", getStatus())
            .append("supplierAddress", getSupplierAddress())
            .append("remarks", getRemarks())
            .append("manager", getManager())
            .append("createdAt", getCreatedAt())
            .append("updatedAt", getUpdatedAt())
            .append("isDeleted", getIsDeleted())
            .append("supplierName", getSupplierName())
            .toString();
    }
}
